﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MyInfo.Aspx.cs" Inherits="Users_MyInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <%=this.UI_Head() %>
    <link rel="stylesheet" type="text/css" href="../Css/Users.css">
    
        <script src="../Script/formValidator/jquery_last.js" type="text/javascript"></script>

    <link href="../Script/formValidator/style/validator.css" rel="stylesheet" type="text/css" />

    <script src="../Script/formValidator/formValidator.js" type="text/javascript"></script>
    <script src="../Script/formValidator/formValidatorRegex.js" type="text/javascript"></script>
    <script language="javascript" src="../Script/formValidator/DateTimeMask.js" type="text/javascript"></script>
    <script src="../Script/formValidator/datepicker/WdatePicker.js" type="text/javascript"></script>
 <script type="text/javascript">
     $(document).ready(function() {
         $.formValidator.initConfig({ alertmessage: false, formid: "FormCheck", onerror: function(msg) { alert(msg) } });
          $("#Txt_Mail").formValidator({ empty: true, onshow: "可选项,请输入邮箱", onfocus: "请输入正确的邮箱", oncorrect: "恭喜你,输入正确" }).inputValidator({ min: 6, max: 100, onerror: "你输入的邮箱长度非法,请确认" }).regexValidator({ regexp: "^([\\w-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([\\w-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$", onerror: "你输入的邮箱格式不正确" });
         $("#Txt_Brith").focus(function() { WdatePicker({ maxDate: '%y-%M-%d', isShowClear: false, readOnly: true, skin: 'default', oncleared: function() { $(this).blur(); }, onpicked: function() { $(this).blur(); } }) });
         $("#Txt_Moblie").formValidator({ empty: true, onshow: "可选项" }).inputValidator({ min: 11, max: 11, onerror: "手机号码必须是11位的,请确认" }).regexValidator({ regexp: "mobile", datatype: "enum", onerror: "你输入的手机号码格式不正确" });
     });   
    </script>
        <script src="../Script/province.aspx"></script>
</head>
<body>
    <%=this.UI_TopControl()%>
    <div class="topbanner bodyList">
        <div class="body_995">
            <div class="Member_left">
                <%=this.UI_Users_loginOK()%>
                <%=this.UI_UsersDhtList() %>
            </div>
            <div class="Member_Right">
                <form runat="server" id="FormCheck" >
                <div class="Member_right_dht">
                    <img src="../Images/class_hy.jpg" /></div>
                <div class="Member_right_CntLIst">
                    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
                        <tr>
                            <td class="MyInfo_Aspx_Right_title" colspan="2">
                                修改注册信息
                            </td>
                        </tr>
                        <tr>
                            <td class="MyInfo_Aspx_Right_font">
                                用户名：
                            </td>
                            <td class="MyInfo_Aspx_Right_fontleft red">
                                <%=Base_GetUserInfo.UserName%>
                            </td>
                        </tr>
                        <tr>
                            <td class="MyInfo_Aspx_Right_font">
                                性别：
                            </td>
                            <td class="MyInfo_Aspx_Right_fontleft">
                                <asp:RadioButtonList ID="Radio_Sex" runat="server">
                                </asp:RadioButtonList>
                            </td>
                        </tr>
                        <tr>
                            <td class="MyInfo_Aspx_Right_font">
                                所属地区：
                            </td>
                            <td class="MyInfo_Aspx_Right_fontleft">
                                 <select id="province" name="provice" onChange="changeProvince(document.getElementById('province'),document.getElementById('city'));"  disabled="disabled" >
                                </select>
		
		 <select id="city" name="city"  disabled="disabled" >
                                </select>

                                <script language="javascript" type="text/javascript">
                                    initialize(document.getElementById('province'), document.getElementById('city'), "<%= Base_GetUserInfo.Province %>", "<%= Base_GetUserInfo.City %>");
                                </script> 
                            </td>
                        </tr>
                        <tr>
                            <td class="MyInfo_Aspx_Right_font">
                                密码问题：
                            </td>
                            <td class="MyInfo_Aspx_Right_fontleft">
                                <asp:DropDownList ID="StrQ1" runat="server">
                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="MyInfo_Aspx_Right_font">
                                问题答案：
                            </td>
                            <td class="MyInfo_Aspx_Right_fontleft">
                              <asp:TextBox ID="Txt_Ans" runat="server" CssClass="RegInput" Width="141px" ></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="MyInfo_Aspx_Right_font">
                                Email地址：
                            </td>
                            <td class="MyInfo_Aspx_Right_fontleft">
                                <div><asp:TextBox ID="Txt_Mail" runat="server" CssClass="RegInput" Width="141px" ></asp:TextBox></div><div id="Txt_MailTip">
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="MyInfo_Aspx_Right_font">
                                出生年月：
                            </td>
                            <td class="MyInfo_Aspx_Right_fontleft">
                               <div><asp:TextBox ID="Txt_Brith" runat="server" CssClass="RegInput" Width="141px" ></asp:TextBox></div><div id="Txt_BrithTip"></div>
                            </td>
                        </tr>
                        <tr>
                            <td class="MyInfo_Aspx_Right_font">
                                联系电话：
                            </td>
                            <td class="MyInfo_Aspx_Right_fontleft">
                                 <div><asp:TextBox ID="Txt_Moblie" runat="server" CssClass="RegInput" Width="141px" ></asp:TextBox></div><div id="Txt_MoblieTip"></div>
                            </td>
                        </tr>
                        <tr>
                            <td class="MyInfo_Aspx_Right_font">
                                主页：
                            </td>
                            <td class="MyInfo_Aspx_Right_fontleft">
                                <asp:TextBox ID="Txt_HomePage" runat="server" CssClass="RegInput" 
                                    Width="141px" ></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="MyInfo_Aspx_Right_font">
                                QQ：
                            </td>
                            <td class="MyInfo_Aspx_Right_fontleft">
                                <asp:TextBox ID="Txt_QQ" runat="server" CssClass="RegInput" Width="141px" ></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="MyInfo_Aspx_Right_font">
                                MSN：
                            </td>
                            <td class="MyInfo_Aspx_Right_fontleft">
                                <asp:TextBox ID="Txt_Msn" runat="server" CssClass="RegInput" Width="141px" ></asp:TextBox>
                            </td>
                        </tr>
                        <tr align="center">
                            <td height="30" colspan="2" align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="Button1" runat="server" Text="立即修改" onclick="Button1_Click" />
                             </td>
                        </tr>                        
                        
                    </table>
                </div>
                </form>
            </div>
        </div>
        <br />
    </div>
    <%=this.UI_boot() %>
</body>
</html>
